﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="Include.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>创意产业园</title>
<link href="images/style.css" rel="stylesheet" type="text/css"/>
<script src="images/js.js" type="text/ecmascript"></script>
</head>
<body>
<div id="all">
    <!--#include file="header.asp"-->
    <div class="EnterPark">
        <div class="Content">
            <div class="Content_path">
				<%
                    sql=" Select * from doings where id="&request("id")&""
                    Set rs = Server.CreateObject ("ADODB.Recordset")
                    rs.open sql,conn,1,1
                    if not rs.eof then
                        StrTitle = rs("title")
                        StrContent= rs("body")
                    end if 
                    rs.close
                    set rs=nothing
					
                %>
                <a href="#">品牌活动</a>
            </div>
				<%
                    sql=" Select * from doings where id="&request("id")&""
                    Set rs = Server.CreateObject ("ADODB.Recordset")
                    rs.open sql,conn,1,1
                    if not rs.eof then
                        StrTitle = rs("title")
                        StrContent= rs("body")
						strUpdateTime = rs("UpdateTime")
                    end if 
                    rs.close
                    set rs=nothing
                %>
            <div class="Content_title">品牌活动</div>
            <div class="Content_txext">
            
            <div class="NewsContent_Title"><%=StrTitle%></div>
            <div class="NewsContent_info">更新时间：<%=strUpdateTime%></div>
            
			<div class="NewsContent_intro">
			<%=StrContent%>
            </div>
            
            <div class="NewsContent_Related"><strong>上一篇：</strong>
            <%
				sql=" Select * from doings where id="& int(request("id")-1) &""
				Set rs = Server.CreateObject ("ADODB.Recordset")
				rs.open sql,conn,1,1
				if not rs.eof then
					response.write "<a href=""doings.asp?id="& rs("id") &""">" & rs("title") & "</a>"
				else
					response.write "没有了"
				end if 
				rs.close
				set rs=nothing
			%>
            </div>
            <div class="NewsContent_Related"><strong>下一篇：</strong>
            <%
				sql=" Select * from doings where id="& int(request("id")+1) &""
				Set rs = Server.CreateObject ("ADODB.Recordset")
				rs.open sql,conn,1,1
				if not rs.eof then
					response.write "<a href=""doings.asp?id="& rs("id") &""">" & rs("title") & "</a>"
				else
					response.write "没有了"
				end if 
				rs.close
				set rs=nothing
			%>
            </div>
            </div>
        </div>
        <!--#include file="ContentPage_right.asp"-->
    </div>
    <!--#include file="bottom.asp"-->
</div>
</body>
</html>